import React,{ useEffect } from 'react'

function List(){
    useEffect(()=>{
        console.log("come in List pages");
        return ()=>{
            console.log(`go out List pages`);
        }
    },[])
    return (<div>List pages</div>)
}
export default List